/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 晓星航
 * Date: 2023-10-11
 * Time: 8:48
 */
public class Matrix_ {
    public static void main(String[] args) {
        System.out.println(1+" "+1+" "+1+" "+1+" "+1+" "+1);
        System.out.println(1+" "+2+" "+2+" "+2+" "+2+" "+1);
        System.out.println(1+" "+2+" "+3+" "+3+" "+2+" "+1);
        System.out.println(1+" "+2+" "+3+" "+3+" "+2+" "+1);
        System.out.println(1+" "+2+" "+2+" "+2+" "+2+" "+1);
        System.out.println(1+" "+1+" "+1+" "+1+" "+1+" "+1);
    }
}
